package example.pattern.builder;

public class HtmlTextBuilder extends TextBuilder {

	@Override
	public void makeHeader(String header) {
		sb.append("<html>\n\t<header>\n\t\t<title>").append(header).append("</title>\n\t</header>");
	}

	@Override
	public void makeContent(String content) {
		sb.append("\n\t<body>").append("\n\t\t<p>").append(content).append("</p>").append("\n\t</body>");

	}

	@Override
	public void makeFooter(String footer) {
		sb.append("\n</html>");

	}

}
